package com.gxp.system.domain;

import com.gxp.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户与服务类型对象 zk_user_svtype
 *
 * @author zh
 * @date 2024-03-08
 */
public class ZkUserSvtype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 角色ID */
    private Long userId;

    /** 服务类型ID */
    private Long svtypeId;

    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setSvtypeId(Long svtypeId)
    {
        this.svtypeId = svtypeId;
    }

    public Long getSvtypeId()
    {
        return svtypeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("userId", getUserId())
                .append("svtypeId", getSvtypeId())
                .toString();
    }
}

